<?php

/**
  *  $os is the ObjectSpecification describing each attribute
  *  [fieldname]  array
  *         'type'
  *         'size of the input field'
  *         'prefix value decoration for display'
  *         'suffix value decoration for display'
  *   
  *   in case of an singlechoice field you will have an '_choices' array 
  *   holding the possible values... also this values are language dependent           
  *         
  *   Possible attribute types:
  *   =========================     
  *   text              ---> Single entry field      
  *   multitext         ---> Textarea for multi lines of text
  *   onoff             ---> Checkbox
  *   singlechoice      ---> Dropdown with possible values 
  *   descriptivtext    ---> Display text only e.g. comments of how to fill out the fields
  *   seperator         ---> renders a line to group attributes together
  *   
  *   $objid is the field which will be considered as the objectID and will also 
  *   be added in the action.php as the first headling  *           
  */    



$objid = 'fn';
  
$os['fn']        = array  ('text', 50);
$os['title']     = array  ('text', 20);
$os['bday']      = array  ('text', 20);
$os['street']    = array  ('text', 50);
$os['pcode']     = array  ('text', 5);
$os['locality']  = array  ('text', 50);
$os['country']   = array  ('singlechoice', 0 ,
'_choices' => array(  'AD',
                      'AE',
                      'AF',
                      'AG',
                      'AI',
                      'AL',
                      'AM',
                      'AN',
                      'AO',
                      'AQ',
                      'AR',
                      'AS',
                      'AT',
                      'AU',
                      'AW',
                      'AZ',
                      'BA',
                      'BB',
                      'BD',
                      'BE',
                      'BF',
                      'BG',
                      'BH',
                      'BI',
                      'BJ',
                      'BM',
                      'BN',
                      'BO',
                      'BR',
                      'BS',
                      'BT',
                      'BV',
                      'BW',
                      'BY',
                      'BZ',
                      'CA',
                      'CC',
                      'CF',
                      'CG',
                      'CH',
                      'CI',
                      'CK',
                      'CL',
                      'CM',
                      'CN',
                      'CO',
                      'CR',
                      'CS',
                      'CU',
                      'CV',
                      'CX',
                      'CY',
                      'CZ',
                      'DE',
                      'DJ',
                      'DK',
                      'DM',
                      'DO',
                      'DZ',
                      'EC',
                      'EE',
                      'EG',
                      'EH',
                      'ER',
                      'ES',
                      'ET',
                      'FI',
                      'FJ',
                      'FK',
                      'FM',
                      'FO',
                      'FR',
                      'FX',
                      'GA',
                      'GB',
                      'GD',
                      'GE',
                      'GF',
                      'GH',
                      'GI',
                      'GL',
                      'GM',
                      'GN',
                      'GP',
                      'GQ',
                      'GR',
                      'GS',
                      'GT',
                      'GU',
                      'GW',
                      'GY',
                      'HK',
                      'HM',
                      'HN',
                      'HR',
                      'HT',
                      'HU',
                      'ID',
                      'IE',
                      'IL',
                      'IN',
                      'IO',
                      'IQ',
                      'IR',
                      'IS',
                      'IT',
                      'JM',
                      'JO',
                      'JP',
                      'KE',
                      'KG',
                      'KH',
                      'KI',
                      'KM',
                      'KN',
                      'KP',
                      'KR',
                      'KW',
                      'KY',
                      'KZ',
                      'LA',
                      'LB',
                      'LC',
                      'LI',
                      'LK',
                      'LR',
                      'LS',
                      'LT',
                      'LU',
                      'LV',
                      'LY',
                      'MA',
                      'MC',
                      'MD',
                      'MG',
                      'MH',
                      'MK',
                      'ML',
                      'MM',
                      'MN',
                      'MO',
                      'MP',
                      'MQ',
                      'MR',
                      'MS',
                      'MT',
                      'MU',
                      'MV',
                      'MW',
                      'MX',
                      'MY',
                      'MZ',
                      'NA',
                      'NC',
                      'NE',
                      'NF',
                      'NG',
                      'NI',
                      'NL',
                      'NO',
                      'NP',
                      'NR',
                      'NT',
                      'NU',
                      'NZ',
                      'OM',
                      'PA',
                      'PE',
                      'PF',
                      'PG',
                      'PH',
                      'PK',
                      'PL',
                      'PM',
                      'PN',
                      'PR',
                      'PT',
                      'PW',
                      'PY',
                      'QA',
                      'RE',
                      'RO',
                      'RU',
                      'RW',
                      'SA',
                      'SB',
                      'SC',
                      'SD',
                      'SE',
                      'SG',
                      'SH',
                      'SI',
                      'SJ',
                      'SK',
                      'SL',
                      'SM',
                      'SN',
                      'SO',
                      'SR',
                      'ST',
                      'SU',
                      'SV',
                      'SY',
                      'SZ',
                      'TC',
                      'TD',
                      'TF',
                      'TG',
                      'TH',
                      'TJ',
                      'TK',
                      'TM',
                      'TN',
                      'TO',
                      'TR',
                      'TT',
                      'TV',
                      'TW',
                      'TZ',
                      'UA',
                      'UG',
                      'UK',
                      'UM',
                      'US',
                      'UY',
                      'UZ',
                      'VA',
                      'VC',
                      'VE',
                      'VG',
                      'VI',
                      'VN',
                      'VU',
                      'WF',
                      'WS',
                      'YE',
                      'YT',
                      'YU',
                      'ZA',
                      'ZM',
                      'ZR',
                      'ZW'));
                      
$os['email']     = array  ('text', 50, '[[',']]');
$os['line1']      = array ('seperator');
$os['tel']       = array  ('text', 50);
$os['fax']       = array  ('text', 50);
$os['mobile']    = array  ('text', 50);
$os['comment']   = array  ('multitext', 40);

?>
